<# # It is recommended to test the script on a local machine for its purpose and effects. # ManageEngine Endpoint Central will not be responsible for any # damage/loss to the data/setup based on the behavior of the script. # Description: Script is designed To Disable SMBv2 protocol # Configuration Type - COMPUTER # Refer : https://learn.microsoft.com/en-us/windows-server/storage/file-server/troubleshoot/detect-enable-and-disable-smbv1-v2-v3?tabs=server # Note : If the function was changed but not effective, please advise the user to contact Windows Support. # Caution: The commands in the following sections require PowerShell 2.0 or later. #> Set-SmbServerConfiguration -EnableSMB2Protocol $false -Force